home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- if tryToSetColorDepth(16) = 0 then
- go("changeColorDepth")
- else
- if QuickTimeVersion() < 6.0 then
- go("QTInstall")
- else
- go(1, "Main")
- end if
- end if
- end
-
- on tryToSetColorDepth desiredDepth
- if the colorDepth >= desiredDepth then
- return 1
- end if
- if (the environment).platform contains "Windows,32" then
- return 0
- end if
- set the colorDepth to desiredDepth
- if the colorDepth = desiredDepth then
- return 1
- else
- return 0
- end if
- end
-